//系统参数
var PageSystem = {
    id: "PageSystem", //页面id
    menu: "i18n.lan.menu.basic", //所属菜单(一级菜单名)
    title: "i18n.lan.menu.PageSystem", //标题（二级菜单名）
    icon: "icon-me-setting", //图标
    refreshBtnCmd: "DUMP_CORE", //刷新按钮指令
    saveBtn: true, //保存按钮
    el: [ //控件
        {
            elname: "checkbox",
            label:i18n.lan.PageSystem.noSim,
            id:"pageSystem_nosim",
            endRow:true,
            attrs: {dumpKey:"CELL_MODEM_NOSIMSTART",cmdKey:"NOSIMSTART"},
        },
        {
            elname: "checkbox",
            label:i18n.lan.PageSystem.smsEnable,
            id:"pageSystem_smsEnable",
            endRow:true,
            attrs: {dumpKey:"SYS_SMS_FUNC_ENABLED",cmdKey:"SMSENABLE"},
        },
        /*
        //这个是调试指令，不使用
        {
            elname: "checkbox",
            label: "i18n.lan.PageSystem.smsfun",
            id:"pageSystem_smsfun",
            endRow:true,
            attrs: {dumpKey:"未知",cmdKey:"STOPSMS|STARTSMS"}
        },
        */
        {
            elname: "checkbox",
            label: i18n.lan.PageSystem.smstid,
            id:"pageSystem_smstid",
            endRow:true,
            attrs: {dumpKey: "SYS_SMS_TID",cmdKey: "SMSTID"},
        },
        {
            elname: "checkbox",
            label: i18n.lan.PageSystem.smstime,
            id: "pageSystem_smstime",
            endRow:true,
            attrs: {dumpKey: "SYS_SMS_TIME",cmdKey: "SMSTIME"},
        },
        {
            elname: "checkbox",
            label: i18n.lan.PageSystem.smstitle,
            id: "pageSystem_smstitle",
            endRow:true,
            attrs: {dumpKey: "SYS_SMS_TITLE",cmdKey: "SMSTITLE"},
        },
        {
            elname: "checkbox",
            label: i18n.lan.PageSystem.smsmemo,
            id: "pageSystem_smsmemo",
            endRow:true,
            attrs: {dumpKey: "SYS_SMS_MEMO",cmdKey: "SMSMEMO"},
        },
        {
            elname: "checkbox",
            label: i18n.lan.PageSystem.errorSmsReply,
            id: "system_errorSmsReply",
            endRow:true,
            attrs: {dumpKey: "SMS_REPLY_ERRORS",cmdKey: "ERRORSMSREPLY"},
        },
        {
            elname: "checkbox",
            label: i18n.lan.PageSystem.buzzerAlarm,
            id: "system_buzzerAlarm",
            endRow:true,
            attrs: {dumpKey: "SYS_SIREN_ENABLED",cmdKey: "SIRENALARM"},
        },
        {
            elname:"text",
            label:i18n.lan.PageSystem.deviceId,
            endRow:true,
            attrs:{dumpKey:"CWTIOID",cmdKey:"CWTIOID"},
        },
        {
            elname:"text",
            label:i18n.lan.PageSystem.deviceName,
            endRow:true,
            attrs:{dumpKey:"MSGTITLE",cmdKey:"SYSTITLE",transcode:true},
        },
        {
            elname:"text",
            label:i18n.lan.PageSystem.longitude,
            endRow:true,
            attrs:{dumpKey:"USERGPSPOS",dumpParamIndex:0,cmdKey:"USERGPSLONG"},
        },
        {
            elname:"text",
            label:i18n.lan.PageSystem.latitude,
            endRow:true,
            attrs:{dumpKey:"USERGPSPOS",dumpParamIndex:1,cmdKey:"USERGPSLAT"},
        },
        {//报警描述
            elname:"text",
            label:i18n.lan.PageSystem.alarmSmsDesc,
            endRow:true,
            attrs:{dumpKey:"MSGALARM",cmdKey:"ALARMSMSDESC",transcode:"true"},
        },
        {
            elname:"span",
            text:i18n.lan.PageSystem.deviceMemo,
            endRow:true,
        },
        {
            elname:"textarea",
            attrs:{transcode:"true",dumpKey:"MSGMEMO",cmdKey:"SYSMEMO"},
        },
    ],
}
CmdPage.add(PageSystem); //添加到页面管理